Linux Artifacts

System Configuration

/etc/passwd

/etc/shadow

/etc/group

/etc/hosts

/etc/hosts.allow and /etc/hosts.deny

/etc/resolv.conf

/etc/login.defs

/etc/ssh/sshd_config

/etc/sudoers and /etc/sudoers.d/

/etc/pam.d/

/etc/sysctl.conf

/etc/rsyslog.conf

/etc/environment

/etc/profile

/etc/bashrc and /etc/profile.d/

/etc/motd

/etc/ntp.conf

/etc/audit/ and /etc/audisp/

/etc/selinux/config

/etc/rc.local

/etc/issue

/etc/anacrontab

/etc/inittab

/etc/modprobe.d/

/etc/grub2.cfg

/etc/ld.so.conf and `/etc/ld.so.conf.d’

/usr/lib/systemd/system/

/etc/systemd/system-generators/

/etc/logrotate.conf

/etc/yum.conf and /etc/yum.repos.d/

uptime

lsusb

lspci

rpm -qa

lsmod

systemctl list-units --type=service --all

systemctl list-timers --all

timedatectl

hostnamectl

uname -a

/proc/modules

/proc/cmdline

/proc/mounts

/proc/version

/proc/swaps

/proc/sys

/proc/filesystems

/proc/uptime

/proc/kallsyms

System Logs

/var/log/secure (or /var/log/auth.log)

/var/log/messages (or /var/log/syslog)

/var/log/lastlog

/var/log/wtmp

/var/log/btmp

/var/log/audit

/var/log/cron

/var/log/laurel


User Analysis

~/.bash_history

~/.bashrc

~/.profile

~/.ssh/authorized_keys

~/.config/autostart

~/.bash_logout

~/.bash_profile

*.history

~/.viminfo

last

lastlog

who -H

w

Network Artifacts

netstat -tulnp

ss -tulnp

iptables -L\iptables-save

arp -a

ip neigh show

ip route show

ifconfig


Filesystem Analysis

find / -type f -executable

find / -type f -executable -mtime

find / -type f -exec ls -lh {} \;

find / -type f -mtime -7

find / -type f -atime -7

find / -type f -executable -print0 2>/dev/null | xargs -0 sha256sum 2>/dev/null

find / -name ".*"

lsof


Process and Memory

/proc/<pid>/cmdline

/proc/<pid>/exe

/proc/<pid>/fd

/proc/<pid>/environ

/proc/<pid>/maps

/proc/<pid>/status

/proc/<pid>/net

ps -eF

ls -alR /proc/*/exe 2> /dev/null | grep deleted